﻿<div class="layui-card">
    <div class="layui-card-body">
        <form class="layui-form">
            <div class="layui-form-item">
                <div class="layui-form-item layui-inline">
                    <label class="layui-form-label">图书室</label>
                    <div class="layui-input-inline">
                        @Html.DropDownList("LibraryId",ViewBag.SelectLibrary as IEnumerable<SelectListItem>,new {lay_filter="LibraryId"})
                    </div>
                </div>
                <div class="layui-form-item layui-inline">
                    <label class="layui-form-label">书架号</label>
                    <div class="layui-input-inline">
                       <select id="bookselfId" lay-filter="bookselfId">
                       </select>
                    </div>
                </div>
                <div class="layui-form-item layui-inline">
                    <a class="pear-btn pear-btn-md pear-btn-primary" id="search">
                        <i class="layui-icon layui-icon-search"></i>
                        查询
                    </a>
                    <button type="reset" class="pear-btn pear-btn-md">
                        <i class="layui-icon layui-icon-refresh"></i>
                        重置
                    </button>
                </div>
            </div>
        </form>
    </div>
</div>

<div class="layui-card">
    <div class="layui-card-body">
        <table id="dataTable" lay-filter="dataTable"></table>
    </div>
</div>

<script type="text/html" id="toolbar">
    <button class="pear-btn pear-btn-primary pear-btn-md" lay-event="add">
        <i class="layui-icon layui-icon-add-1"></i>
        新增
    </button>
</script>
<script type="text/html" id="rowbar">
    <a title="编辑" class="pear-btn pear-btn-primary pear-btn-md" lay-event="edit">
        <i class="layui-icon layui-icon-edit"></i>
    </a>
      <a title="删除" class="pear-btn pear-btn-danger pear-btn-md" lay-event="remove">
        <i class="layui-icon layui-icon-delete"></i>
    </a>
</script>